import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
<<<<<<< HEAD
import router from './router/index.js' 
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
=======
import router from './router/index.js'
import zhCn from "element-plus/es/locale/lang/zh-cn"
>>>>>>> 61245a080de0a6db0e91cdacdbb6409c58c67aa6
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as Icons from '@element-plus/icons-vue'
import commonJs from './assets/js/common'
const app = createApp(App)
for (let i in Icons) {
    app.component(i, Icons[i])
}
<<<<<<< HEAD
app.use(router).use(ElementPlus,{
    locale: zhCn,
  })
=======
app.use(router).use(ElementPlus)
>>>>>>> 61245a080de0a6db0e91cdacdbb6409c58c67aa6
app.config.globalProperties.$commonJs = commonJs
app.mount('#app')